#ifndef BORROWMAG_H
#define BORROWMAG_H

#include <QWidget>
#include <QTableView>
#include <QSqlTableModel>
#include <QStandardItemModel>
#include <QModelIndex>
#include <QMessageBox>

namespace Ui {
class BorrowMag;
}

class BorrowMag : public QWidget
{
    Q_OBJECT

public:
    explicit BorrowMag(QWidget *parent = nullptr);
    ~BorrowMag();
    void setWinStyle();
    void BorrowTableOP();

private slots:
    void on_serach_pushButton_clicked();

    void on_delete_pushButton_clicked();

private:
    Ui::BorrowMag *ui;
    QSqlTableModel *M;
};

#endif // BORROWMAG_H
